import unittest

from leetcode import Permute_46
from leetcode import PermuteUnique_47


class TestAlgorithm(unittest.TestCase):
    def test_permute_46(self):
        nums = [1, 1, 2]
        s46 = Permute_46.Permute46()
        permute = s46.permute(nums)
        print(permute)

    def test_permuteUnique_47(self):
        nums = [1, 1, 2]
        s47 = PermuteUnique_47.PermuteUnique47()
        unique = s47.permute_unique(nums)
        print(unique)


if __name__ == '__main__':
    unittest.main()
